#ifndef ACTIONFLEE_H_
#define ACTIONFLEE_H_

#include "Action.h"
#include "debug.h"
#include "Memory.h"
#include <iostream>

class ActionFlee: virtual public Action
{
	protected:
	std::pair<Entity*,Memory::meminfo_t> e_target__ ;
	Entity * executer__;
	vector3df v_target__;
	float timeToFlee__;
	float timeToSend__ ;

	public:
	ActionFlee();
	ActionFlee(vector3df target);
	virtual ~ActionFlee();

	virtual bool execute(Entity* executer);
	
	virtual bool checkConditions() ;
};

#endif
 
